/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ages.test.animation

import com.ages.env.AbstractWorld
import com.ages.env.GLWindow
import com.ages.input.SKeyboard
import com.ages.test.HelloWorldWorld
import com.ages.graphics.AnimatedSprite
import com.ages.graphics.SpriteBufferManager
object TestAnimation {

  /**
   * @param args the command line arguments
   */
  def main(args: Array[String]): Unit = {
    val world:AbstractWorld = new HelloWorldWorld
    val a = new Animation
    world.addEntity(a)
    val keys = new SKeyboard()
    a.addKeys(keys)
    
    val gameWindow:GLWindow = new GLWindow("Test Animation",world,800,600)
    gameWindow.addKeylistener(keys)
    
  }

}
